using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using ComHlp.enums;

namespace ComHlp.ContentClasses
{
    [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
    public class ItxChartData
    {
        public ItxChartType Type { get; set; }

        /// <summary> for charts which only have a single yaxis value
        /// like bar or pie</summary>
        public string SingleYAxisValue { get; set; }


        /// <summary> complex time chart has more values </summary>
        public string YValueFieldName { get; set; }
        /// <summary> complex time chart has more values </summary>
        public string YValueFieldDesc { get; set; }

        /// <summary> complex time chart has more values </summary>
        public string XValueFieldName { get; set; }
        /// <summary> complex time chart has more values </summary>
        public string XValueFieldDesc { get; set; }

        /// <summary> complex time chart has more values </summary>
        public string IdValueFieldName { get; set; }
        /// <summary> complex time chart has more values </summary>
        public string IdValueFieldDesc { get; set; }

        public List<ItxChartDataSingleValue> Values { get; } = new List<ItxChartDataSingleValue>();
    }
}